	include	SCD.INC

	;; SUB-CPU program
StartSubCPU:	
	;; 11 character string, start with MAIN or ends with SYS, SUB, or DAT
	;; null terminated string
	dc.b    "MAIN       ",$00
	;; version
	dc.w    $0000
	;; type
	dc.w	$0000
	;; next header, zero if no more headers
	dc.l    $00000000
	;; length of packet including header
	dc.l    (EndSubCPU-StartSubCPU)
	;; offset from beginning of header to entry point data
	dc.l    (StartUserCallData-StartSubCPU)
	;; work RAM size
	dc.l    $00000000
StartUserCallData:	
	;; entry point as offset
	dc.w    (StartUserCall0-StartUserCallData)
	;; no more entry points indicated by zeros
	dc.w    $0000

StartUserCall0:	
SubCPULoop:
	nop
	nop
	bra.s   SubCPULoop

EndSubCPU:	
